/**
 * Dear programmer:
 * When I wrote this code, only god and I knew how it worked.
 * Now, only god knows it!
 *
 * @author: Pegasus  Date: 2018/11/24 Time: 14:01
 */

import {StyleSheet} from 'react-native';
import {
    COLOR_GRAY_BACKGROUND,
    COLOR_GRAY_LINE, COLOR_THEME,
    COLOR_WHITE,
    FONT_COLOR_SUB_TITLE,
    FONT_COLOR_TITLE, FONT_SIZE_14,
    FONT_SIZE_SUB_TITLE,
    FONT_SIZE_TITLE
} from "../../../../constant/PHColors"
import {SCREEN_HEIGHT, SCREEN_WIDTH} from "../../../../constant/PHScreen";

export const styles = StyleSheet.create({

    body: {
        flex: 1,
    },

    container: {
        flex: 1,
        // width:SCREEN_WIDTH,
        backgroundColor: '#ffffff',
    },

    scrollView: {
        flex: 1,
        backgroundColor: '#ffffff',
    },

    cellMenuView:{
        height: 30,
        flexDirection: 'row',
        borderColor: '#ffffff',
        backgroundColor: COLOR_GRAY_LINE,
        justifyContent: 'flex-start',
        alignItems: 'center',
        width:SCREEN_WIDTH,
    },

    cellMenuText:{
        flex: 1,
        marginLeft: 10,
        fontSize: 17,
        color: FONT_COLOR_SUB_TITLE
    },

    boxBody: {
        height: 50,
        borderColor: '#e8e8e8',
        borderLeftWidth: 1,
        borderTopWidth: 0,
        borderBottomWidth: 1,
        borderRightWidth: 1,
        justifyContent:'center',
        flexDirection: 'row',
        width:SCREEN_WIDTH,
    },

    leftBox: {
        flex: 1,
        flexDirection: 'row',
        justifyContent: 'flex-start',
        alignItems: 'center',
        marginRight: 15
    },

    leftText:{
        fontSize:20,
        color:'#4c4c4c',
        left:10,
    },

    numberText:{
        fontSize:20,
        color:COLOR_THEME,
        left:10,
    },

    rightBox: {
        flexDirection: 'row',
        justifyContent: 'center',
        alignItems: 'center',
        width:50,
        borderLeftWidth: 1,
        borderColor:'#e8e8e8',

    },

    rightText:{
        fontSize:18,
        color:'#4c4c4c',
    },

    /*模态样式*/
    modalContainer: {
        flex: 1,
        justifyContent: 'center',
        alignItems: 'center',
        backgroundColor: 'rgba(0, 0, 0, 0.3)'
    },

    modalContainer_menu: {
        flex: 1,
        backgroundColor: 'rgba(0, 0, 0, 0)'
    },

    modalView: {
        width: SCREEN_WIDTH - 150,
        height: SCREEN_HEIGHT-120,
        backgroundColor: '#FFF',
    },

    modalHeader: {
        height: 50,
        justifyContent: 'center',
        alignItems: 'center',
        borderBottomWidth: 2,
        borderBottomColor: COLOR_THEME
    },

    modalHeaderText: {
        fontSize: 20,
        color: COLOR_THEME
    },

    modalItemView: {
        flex: 1,
        justifyContent: 'center',
        alignItems: 'center',
        height:40,
    },

    modalItemText: {
        fontSize: 20,
        color: FONT_COLOR_SUB_TITLE
    },

    modalBox:{
        alignItems:'center',
        backgroundColor:'white',
        width: 120,
        borderRadius:10,
        borderWidth:1,
        borderColor:'#b2b2b2',
        bottom: 50,
        position:'absolute',
        marginLeft:SCREEN_WIDTH/24,
    },

    modalBottom:{
        height:40,
        width:120,
        alignItems:'center',
        justifyContent:'center',
    },

    modalTitleText:{
        fontSize:17,
        color:'black',
    },

})